package com.example.cybz.acl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.cybz.model.acl.Permission;

import java.util.List;

public interface PermissionService extends IService<Permission> {

    List<Permission> queryAllPermission();

    boolean removeChildById(Long id);

    boolean savaPermissionRole(Long roleId, List<Long> permissionList);
}
